class abc:
    def abc(self,arg):
        print(arg)

people1 = abc()

people1.abc('qqqqqq')

# print(ret)


class  Province:
    # 静态字段
    country = '中国'

    def __init__(self,name):
        # 普通字段
        self.name = name

    @staticmethod
    def sta(a1,a2):
        print(a1,a2)


    @classmethod
    def classmd(cls):
        print(cls)
        print('classmd')

    @property
    def per(self):
        print("123")
        return 2222

henan = Province("河南")
print(henan.name)   # 通过类访问普通字段
print(henan.country) #可以通过对象访问静态字段
print(Province.country) # 可以通过类访问静态字段

Province.classmd()
print("=============")
henan.per
he = henan.per
print(he)


